<?php include 'header.php';
 include 'conexaoMysql.php';

 $eventos = new crud();
 
 
 $resultado = $eventos->ler('tbEvento', '*','where tbEventoStatus=0');
 
?>
				
				<!-- main -->
				<div class="main">
					<a href="#" class="m-btn-grey grey-btn">request a demo</a>
					
					<section class="post">
                                            <h1>Eventos</h1>
					</section>

                                        <?php while ($linha = mysql_fetch_array($resultado)){?>
                                        
					<section class="post">
                                            <?php 
                                                                                                                                  
                                            echo $linha[1];
                                            echo '<br>';
                                            echo $linha[2];
                                            
                                            ?>
                                            <br>
                                            <input type="button" class="input" value="Ver Detalhes">
                                            
					</section>
                                        
                                        
                                        <?php }?>
                                        
                                        <section class="post">
						
					</section>
				</div>
                                <?php include 'footer.php'; ?>
				